package com.jml.HashMap;

import com.jml.HashMap.ExtHashMap.ExtHashMap;
import com.jml.HashMap.jdk1_7.JdkHashMap;
import java.util.HashMap;
import java.util.Map;

public class MainHashMap {

	public static void main(String[] args) {
		JdkHashMap<Object, Object> objectObjectHashMap = new JdkHashMap<>();
		objectObjectHashMap.get("1");
		objectObjectHashMap.put("","");

		ExtHashMap<String ,Object> map =new ExtHashMap<>();
		map.put("1号","aaa");
		map.put("2号","bbb");
		map.put("3号","aaa");
		map.put("4号","bbb");
		map.put("5号","aaa");
		map.put("6号","bbb");
		map.put("7号","aaa");
		map.put("8号","bbb");
		map.put("9号","aaa");
		map.put("10号","bbb");
		map.put("11号","aaa");
		map.put("12号","bbb");
		map.put("13号","aaa");
		map.put("14号","bbb");
		map.put("15号","aaa");
		map.put("16号","aaa");
		map.put("17号","aaa");
		map.put("18号","aaa");
		map.print();
		map.put("10号","ccc");
		map.print();
		System.out.println(map.get("10号"));
		System.out.println(map.get("1号"));
		System.out.println(map.get("8号"));
		System.out.println(map.get("7号"));
		System.out.println(map.get("3号"));
	}

}
